##
## Makefile for  in /home/jeanma_d//Damien
## 
## Made by damien jeanmaire
## Login   <jeanma_d@epitech.net>
## 
## Started on  Fri Dec 16 17:12:47 2011 damien jeanmaire
## Last update Thu Apr 26 15:59:22 2012 damien jeanmaire
##

NAME=		rt

SRC=		main.c		\
		gere_event.c	\
		image.c		\
		rt.c		\
		utils.c		\

OBJ=		$(SRC:.c=.o)

CFLAGS=		-W -Wall -g

LDFLAGS=	-L/usr/lib64 -lmlx_$(HOSTTYPE) -L/usr/lib64/X11 -lXext -lX11 -lm

$(NAME):	$(OBJ)
		$(CC) $(OBJ) -o $(NAME) $(LDFLAGS)

all:		$(NAME)

clean:
		rm -f $(OBJ)

fclean:		clean
		rm -f $(NAME)

re:		fclean all

proper:		all clean